QT -= gui
QT += network widgets sql

CONFIG += c++17 console
CONFIG -= app_bundle

SOURCES += \
        adminircpanel.cpp \
        config.cpp \
        currenttime.cpp \
        database.cpp \
        dataparser.cpp \
        htmldocumentforvoicegate.cpp \
        htmldocumenttemplate.cpp \
        httpdocument.cpp \
        httprequesttochatlog.cpp \
        httprequesttovoicegate.cpp \
        httpserver.cpp \
        httpserversocket.cpp \
        irclogger.cpp \
        ircloggerlist.cpp \
        ircnetworkclient.cpp \
        ircnetworkclientstarter.cpp \
        libirc/libirc/channel_core.cpp \
        libirc/libirc/mode_core.cpp \
        libirc/libirc/network_core.cpp \
        libirc/libirc/serializableitem.cpp \
        libirc/libirc/server_core.cpp \
        libirc/libirc/serveraddress.cpp \
        libirc/libirc/user_core.cpp \
        libirc/libircclient/channel.cpp \
        libirc/libircclient/generic.cpp \
        libirc/libircclient/irceventhandler.cpp \
        libirc/libircclient/mode.cpp \
        libirc/libircclient/network.cpp \
        libirc/libircclient/networkmodehelp.cpp \
        libirc/libircclient/parser.cpp \
        libirc/libircclient/server.cpp \
        libirc/libircclient/user.cpp \
        logger.cpp \
        main.cpp \
        random.cpp \
        token.cpp \
        voicedlist.cpp \
        voicegate.cpp \
        zerostoragecaptcha.cpp

HEADERS += \
    adminircpanel.h \
    config.h \
    currenttime.h \
    database.h \
    dataparser.h \
    fsconstants.h \
    htmldocumentforvoicegate.h \
    htmldocumenttemplate.h \
    httpdocument.h \
    httprequestrouter.h \
    httprequesttochatlog.h \
    httprequesttovoicegate.h \
    httpserver.h \
    httpserversocket.h \
    irclogger.h \
    ircloggerlist.h \
    ircnetworkclient.h \
    ircnetworkclientstarter.h \
    libirc/irc.h \
    libirc/libirc/channel_core.h \
    libirc/libirc/error_code.h \
    libirc/libirc/irc_numerics.h \
    libirc/libirc/irc_standards.h \
    libirc/libirc/mode_core.h \
    libirc/libirc/network_core.h \
    libirc/libirc/serializableitem.h \
    libirc/libirc/server_core.h \
    libirc/libirc/serveraddress.h \
    libirc/libirc/user_core.h \
    libirc/libircclient/channel.h \
    libirc/libircclient/generic.h \
    libirc/libircclient/irceventhandler.h \
    libirc/libircclient/mode.h \
    libirc/libircclient/network.h \
    libirc/libircclient/networkmodehelp.h \
    libirc/libircclient/parser.h \
    libirc/libircclient/priority.h \
    libirc/libircclient/server.h \
    libirc/libircclient/user.h \
    logger.h \
    random.h \
    token.h \
    versioninformation.h \
    voicedlist.h \
    voicegate.h \
    zerostoragecaptcha.h

RESOURCES += \
    htmlstatic.qrc
